package com.anfeng.cms.domain.emp;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴朋
 * @since 2019-07-15
 */
@TableName("af_guest_info")
public class AfGuestInfo extends Model<AfGuestInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 访客id
     */
	private String id;
    /**
     * 访客名
     */
	private String name;
    /**
     * 性别（1 男 2女）
     */
	private Integer gender;
    /**
     * 访客手机号
     */
	private String mobile;
    /**
     * 访客证件号
     */
	@TableField("identity_no")
	private String identityNo;
    /**
     * 员工id
     */
	@TableField("emp_id")
	private String empId;
    /**
     * 员工名
     */
	@TableField("emp_name")
	private String empName;
    /**
     * 员工手机号
     */
	@TableField("emp_mobile")
	private String empMobile;
    /**
     * 照片id
     */
	@TableField("photo_id")
	private String photoId;
    /**
     * 数据状态（1 正常 2 逻辑删除）
     */
	private Integer state;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("modified_time")
	private Date modifiedTime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getIdentityNo() {
		return identityNo;
	}

	public void setIdentityNo(String identityNo) {
		this.identityNo = identityNo;
	}

	public String getEmpId() {
		return empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getEmpMobile() {
		return empMobile;
	}

	public void setEmpMobile(String empMobile) {
		this.empMobile = empMobile;
	}

	public String getPhotoId() {
		return photoId;
	}

	public void setPhotoId(String photoId) {
		this.photoId = photoId;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "AfGuestInfo{" +
			"id=" + id +
			", name=" + name +
			", gender=" + gender +
			", mobile=" + mobile +
			", identityNo=" + identityNo +
			", empId=" + empId +
			", empName=" + empName +
			", empMobile=" + empMobile +
			", photoId=" + photoId +
			", state=" + state +
			", createTime=" + createTime +
			", modifiedTime=" + modifiedTime +
			"}";
	}
}
